class CourseListController {
    constructor($rootScope, $scope, $cookieStore, $timeout, $state, ngDialog, dialogService, getCourseList, iRunner){

    	this.$rootScope    = $rootScope;
    	this.$cookieStore  = $cookieStore;
    	this.$timeout 	   = $timeout;
    	this.$state   	   = $state;
    	this.ngDialog 	   = ngDialog;
    	this.dialogService = dialogService;
    	this.getCourseList = getCourseList;
    	this.iRunner 	   = iRunner;
        
        // 科目列表
        this.getCourseList.code==0&&(this.courselist = this.getCourseList.data);
    }
}

CourseListController.$inject = ['$rootScope', '$scope', '$cookieStore', '$timeout', '$state', 'ngDialog', 'dialogService', 'getCourseList', 'iRunner']; 

export default CourseListController;